﻿namespace ElencySolutions.MultipleProperty.CustomProperties
{
    using System.Web.UI;
    using System.Web.UI.HtmlControls;
    using EPiServer.Web.PropertyControls;

    public class MultiplePropertyComposerFixPropertyControl : PropertyStringControl
    {
        public override void CreateEditControls()
        {
            base.CreateEditControls();
            HtmlTableRow htmlTableRow = EditControl.Parent.Parent.Parent as HtmlTableRow;
            htmlTableRow.Style.Add(HtmlTextWriterStyle.Display, "none");
        }
    }
}